package com.muyi.service;

import com.muyi.pojo.dto.CommentDTO;
import com.muyi.pojo.entity.Comment;
import com.muyi.pojo.vo.Result;

public interface CommentService {
    Result addComment(Comment comment) throws Exception;
    Result deleteCommentById(Integer comment_id) throws Exception;
    Result updateComment(Comment comment) throws Exception;
    Result getCommentById(Integer comment_id) throws Exception;
    Result getCommentBySearch(CommentDTO commentdto, Integer pageNo, Integer pageSize) throws Exception;
    Result deleteCommentByIds(Integer[] comment_ids) throws Exception;
}
